package com.nl.bean.input;

import java.io.Serializable;

/**
 * @author shihb
 * @date 2019/12/24 13:22
 * 登录日志的样例类-输入
 */
public class LoginLogEvent implements Serializable {

  private Long userId;
  private String ip;
  private String loginState;
  private Long loginTime;

  public LoginLogEvent() {
  }

  @Override
  public String toString() {
    return "LoginLogEvent{" +
        "userId=" + userId +
        ", ip='" + ip + '\'' +
        ", loginState='" + loginState + '\'' +
        ", loginTime=" + loginTime +
        '}';
  }

  public LoginLogEvent(Long userId, String ip, String loginState, Long loginTime) {
    this.userId = userId;
    this.ip = ip;
    this.loginState = loginState;
    this.loginTime = loginTime;
  }

  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

  public String getIp() {
    return ip;
  }

  public void setIp(String ip) {
    this.ip = ip;
  }

  public String getLoginState() {
    return loginState;
  }

  public void setLoginState(String loginState) {
    this.loginState = loginState;
  }

  public Long getLoginTime() {
    return loginTime;
  }

  public void setLoginTime(Long loginTime) {
    this.loginTime = loginTime;
  }
}
